<%@page import="com.nope.dodkr.DODXMLWorker"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%

String rootPath = pageContext.getServletContext().getRealPath("/dod");
//System.out.println(rootPath);
String from = request.getParameter("from");
String to 	= request.getParameter("to").trim();

from = new String(from.getBytes("8859_1"), "UTF-8").replace("\"", "&quot;");
System.out.println(from);
to = new String(to.getBytes("8859_1"), "UTF-8").replace("\"", "&quot;");
System.out.println(from);

DODXMLWorker.changeValueAndSaveFile(rootPath, from, to);
response.sendRedirect("index.jsp?backTo=" + request.getParameter("backTo"));
return;

%>